<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
		for(var i=1;i<=9;i++){
			for(var k=1;k<=i;k++){
			    document.write(k+'*'+i+'='+i*k+'&nbsp;');
			}
			document.write('<br/>');
		}
		</script>
		
		
		<script>
			for (var m=1;m<=5;m++) {
				
				for (var k=1;k<=5-m;k++) {
					document.write('&nbsp;')
				}for (var f=1;f<=(m-1)*2+1;f++) {
					document.write('★')
				}
				document.write('<br>');
			}
		</script>
	</body>
</html>
